package test.excel.dto;

public class CellDto {
    public static final int COL_INT    = 1;
    public static final int COL_DOUBLE = 2;
    public static final int COL_DATE   = 3;
    public static final int COL_STRING = 4;

    private Integer type;

    private Object value;

    public CellDto(Integer type, Object value) {
        this.type = type;
        this.value = value;
    }

    public Integer getType() {
        return type;
    }

    public Object getValue() {
        return value;
    }

    @Override
    public String toString() {
        return value + " [" + type + "]";
    }
}
